Page({
  data: {
    schema: [{
      label:'是否禁用',
      prop:'disabled',
      type:'switch'
    },{
      label:'样式',
      prop:'type',
      type:'picker',
      labelOptions:[],
      valueOptions:[]
    },{
      label:'是否禁用',
      prop:'disabled',
      type:'switch'
    }],
    formData: {
    },
    title: '',
    result: '',
    zh:'',
    apiType: '',
    remark: '',
    webUrl: '',
    apiName: '',
  },
  onLoad(options) {
    this.setData({
      apiType: options.zh,
      title: options.title,
      zh: options.zh,
      remark: options.remark,
      webUrl: options.webUrl
    })
  },
  getFormData(e){
    this.setData({
      formData:e.detail.formData
    })
  }
})
